package com.spring.springboot.jpa;


import org.springframework.data.jpa.repository.JpaRepository;

import com.spring.springboot.entity.UsersEntity;

/**
*@author LSY
*Time: 2018年12月13日下午4:57:10
*
*
*/

public interface UsersJPA extends JpaRepository<UsersEntity, Long> {

	//使用SpringDataJPA方法定义查询
    public UsersEntity findByUsername(String username);

}
